-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Further clarify mandatory API ABM
#900
Conversation
This is very frustrating. The tests of the IO are failing everywhere. This is really annoying that this part of the code is so hardcoded and doesn't use API functions. |
Okay I hope to get some help here. We have only two failures. One is for sure with the change @Tortar did with the ID iterator. I get:
The other failure is related with the AgentsIO tests checking the internal
Other than these 2 failures, this PR is good to go. |
will take a look at the failures and review the PR soon! |
The second test failure ( |
@AayushSabharwal what's the fix? |
I'll have to experiment with it and see. Shouldn't be too hard |
I'm solving both of the problems @AayushSabharwal, thanks for bisecting the cause (saying this so that we don't do the double of the work) |
Codecov Report
@@ Coverage Diff @@
## main #900 +/- ##
===========================================
+ Coverage 80.21% 92.06% +11.84%
===========================================
Files 44 33 -11
Lines 3028 2331 -697
===========================================
- Hits 2429 2146 -283
+ Misses 599 185 -414
... and 12 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
In preparation for the new Gillespie model, this PR closes #899 .
I've also removed the agent type as a type parameter of the abstract
AgentBasedModel
, in foresight of future multi-agent models not being parameterized by a Union type. This change took me 2 hours to do.